﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace OwnZTec.LojaDelivery.UI.WinForms
{
    public partial class frmCripto : Form
    {
        public frmCripto()
        {
            InitializeComponent();
        }

        private void cmdEncriptar_Click(object sender, EventArgs e)
        {
            txtEncriptado.Text = Seguranca.EncryptDecrypt(txtDecriptado.Text);
        }

        private void cmdDecriptar_Click(object sender, EventArgs e)
        {
            txtDecriptado.Text = Seguranca.EncryptDecrypt(txtEncriptado.Text);
        }
    }
}
